package com.hmsm.sys.po;

import java.sql.Timestamp;

/**
 * SysMessagePublish entity. @author MyEclipse Persistence Tools
 */

public class SysMessagePublish implements java.io.Serializable {

	// Fields

	private Integer pkId;
	private String title;
	private Timestamp messPublishDate;
	private String content;
	private String creater;
	private Integer userId;
	private String currentUnit;
	private Integer state;

	// Constructors

	/** default constructor */
	public SysMessagePublish() {
	}

	/** minimal constructor */
	public SysMessagePublish(Integer userId, Integer state) {
		this.userId = userId;
		this.state = state;
	}

	/** full constructor */
	public SysMessagePublish(String title, Timestamp messPublishDate, String content, String creater, Integer userId, String currentUnit, Integer state) {
		this.title = title;
		this.messPublishDate = messPublishDate;
		this.content = content;
		this.creater = creater;
		this.userId = userId;
		this.currentUnit = currentUnit;
		this.state = state;
	}

	// Property accessors

	public Integer getPkId() {
		return this.pkId;
	}

	public void setPkId(Integer pkId) {
		this.pkId = pkId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Timestamp getMessPublishDate() {
		return this.messPublishDate;
	}

	public void setMessPublishDate(Timestamp messPublishDate) {
		this.messPublishDate = messPublishDate;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreater() {
		return this.creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getCurrentUnit() {
		return this.currentUnit;
	}

	public void setCurrentUnit(String currentUnit) {
		this.currentUnit = currentUnit;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}